//
//  BianJiNameViewController.m
//  YouSheng
//
//  Created by Mac on 16/8/26.
//  Copyright © 2016年 FanShuHan. All rights reserved.
//

#import "BianJiNameViewController.h"
#import <Masonry.h>

#define YSBJColorHui [UIColor colorWithRed:239/255.0 green:239/255.0 blue:239/255.0 alpha:1]

@interface BianJiNameViewController ()


@end

@implementation BianJiNameViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = YSBJColorHui;
    
    [self setupTextField];
}


- (void)setupTextField {
    UITextField *nameTF = [[UITextField alloc] init];
    nameTF.backgroundColor = [UIColor whiteColor];
//    nameTF.placeholder = @"sss";
    nameTF.text = self.name;
    self.nameTF = nameTF;
    
    [self.view addSubview:nameTF];
    
    [nameTF mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(self.view).offset(0);
        make.right.equalTo(self.view).offset(0);
        make.top.equalTo(self.view).offset(84);
        make.height.mas_equalTo(44);
    }];
}

@end
